import service from '../utils/request'

//热门搜索
export function good_hotsearch(payload = {}) {
    return service.get('/api/good/hotsearch', { params: payload })
}

//关键字搜索
export function good_search(payload = {}) {
    return service.get('/api/good/search', { params: payload })
}

// 所有商品（按分类）
export function good_list(payload = {}) {
    return service.get('/api/good/list', { params: payload })
}


